﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="PSS.WebSite.index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="lib/boot.js" type="text/javascript"></script>
    <script src="lib/js/cookie.js" type="text/javascript"></script>
    <link href="lib/css/IndexStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="main_layout" class="mini-layout" style="width: 100%; height: 100%;">
        <div class="header" region="north" height="88px;" showsplit="false" showheader="false"
            allowresize="false">
            <div style="margin-left: 10px;">
                <img title="" style="height: 80px; margin-top: 2px;" />
            </div>
            <form id="form1" runat="server">
            <div style="text-align: right; margin-right: 12px;" class="topNav">
                <div style="position: absolute; top: 1px; right: 10px;">
                    <a class="mini-button mini-button-iconTop" iconcls="icon-switchuser" onclick="switchuser();"
                        plain="true">切换用户</a> <a class="mini-button mini-button-iconTop" iconcls="icon-exit"
                            onclick="onExitClick" plain="true">退出</a>
                </div>
            </div>
            <div style="position: absolute; right: 12px; bottom: 5px; font-size: 12px; line-height: 25px;
                font-weight: normal;">
                <span style="color: Red; font-family: Tahoma">选择皮肤：</span>
                <select style="width: 100px;" onchange="onSkinChange(this.value)" id="selectSkin">
                    <option value="">Default</option>
                    <option value="blue">Blue</option>
                    <option value="gray">Gray</option>
                    <option value="olive2003">Olive2003</option>
                    <option value="blue2003">Blue2003</option>
                    <option value="blue2010">Blue2010</option>
                </select>
            </div>
            </form>
        </div>
        <div title="south" region="south" showsplit="false" showheader="false" height="32px">
            <table style="width: 100%;">
                <tr>
                    <td style="width: 25%; text-align: center;">
                        <span>企业名称：珠海钧兴机电有限公司 </span>
                    </td>
                    <td style="width: 25%; text-align: center;">
                        <span>技术支持：广州太友计算机科技有限公司</span>
                    </td>
                    <td style="width: 25%; text-align: center;">
                        <span>登录用户：admin</span>
                    </td>
                    <td style="width: 25%; text-align: center;">
                        <span>当前时间：</span><span id="TimeSpan"></span>
                    </td>
                </tr>
            </table>
        </div>
        <div region="west" title="系统菜单" showheader="true" bodystyle="padding-left:1px;" showspliticon="true"
            width="230" minwidth="100" maxwidth="350">
            <ul id="tree1" class="mini-tree" style="width: 100%; height: 100%;" showtreeicon="true"
                resultastree="false" textfield="MenuName" idfield="MenuId" parentfield="ParentMenuId"
                onbeforeexpand="onBeforeExpand" onnodeselect="onNodeSelect">
            </ul>
        </div>
        <div title="center" region="center" style="border: 0;">
            <div id="mainTabs" class="mini-tabs bg-toolbar" activeindex="0" style="width: 100%;
                height: 100%;">
                <div title="首页">
                </div>
            </div>
        </div>
    </div>
    <script src="lib/js/index.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function ShowTime() {
            now = new Date();
            hour = now.getHours();
            minute = now.getMinutes();
            second = now.getSeconds();
            var day = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", ];
            time_str = (hour < 10) ? ("0" + hour) : hour;
            time_str += ":";
            time_str += (minute < 10) ? ("0" + minute) : minute;
            time_str += ":";
            time_str += (second < 10) ? ("0" + second) : second;
            $("#TimeSpan").html("" + (now.getFullYear()) + "-" + (now.getMonth() + 1) + "-" + (now.getDate() + 0) + " " + time_str + " " + day[new Date().getDay()]);
            setTimeout('ShowTime()', 1000);
        }
        $(function () {
            ShowTime();
        });
        var sel = document.getElementById("selectSkin");
        if (sel != null) {
            for (var i = 0; i < sel.length; i++) {
                if (sel.options[i].value == skin) {
                    sel.selectedIndex = i;
                    break;
                }
            }
        }
    </script>
</body>
</html>
